﻿using System;
using SharpSqlAnalyzer.nodes;
using SharpSqlAnalyzer.nodes.mssql;

namespace SharpSqlAnalyzer.stmt.mssql
{
	// Token: 0x02000184 RID: 388
	public class TMssqlSendOnConversation : TCustomSqlStatement
	{
		// Token: 0x06000D9D RID: 3485 RVA: 0x00308E36 File Offset: 0x00307036
		public TMssqlSendOnConversation(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstmssqlsendonconversation;
		}

		// Token: 0x06000D9E RID: 3486 RVA: 0x00308E4A File Offset: 0x0030704A
		internal override void buildsql()
		{
		}

		// Token: 0x06000D9F RID: 3487 RVA: 0x00308E4C File Offset: 0x0030704C
		internal override void clear()
		{
		}

		// Token: 0x06000DA0 RID: 3488 RVA: 0x00308E4E File Offset: 0x0030704E
		internal override string getasprettytext()
		{
			return "";
		}

		// Token: 0x06000DA1 RID: 3489 RVA: 0x00308E55 File Offset: 0x00307055
		internal virtual void iterate(TVisitorAbs pvisitor)
		{
		}

		// Token: 0x1700027C RID: 636
		// (get) Token: 0x06000DA2 RID: 3490 RVA: 0x00308E57 File Offset: 0x00307057
		// (set) Token: 0x06000DA3 RID: 3491 RVA: 0x00308E5F File Offset: 0x0030705F
		public virtual TObjectName ConversationHandle
		{
			get
			{
				return this.conversationHandle;
			}
			set
			{
				this.conversationHandle = value;
			}
		}

		// Token: 0x06000DA4 RID: 3492 RVA: 0x00308E68 File Offset: 0x00307068
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			TMssqlSendOnConversationSqlNode tmssqlSendOnConversationSqlNode = (TMssqlSendOnConversationSqlNode)this.rootNode;
			base.doParseStatement(psql);
			this.conversationHandle = tmssqlSendOnConversationSqlNode.ConversationHandle;
			return 0;
		}

		// Token: 0x06000DA5 RID: 3493 RVA: 0x00308EA0 File Offset: 0x003070A0
		public override void accept(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x06000DA6 RID: 3494 RVA: 0x00308EB0 File Offset: 0x003070B0
		public override void acceptChildren(TParseTreeVisitor v)
		{
			v.preVisit(this);
			v.postVisit(this);
		}

		// Token: 0x04001314 RID: 4884
		private TObjectName conversationHandle;
	}
}
